package Day05;

import java.util.Random;

public class Test5 {
    public static void main(String[] args) {
        Random r=new Random();
        int[] arr=new int[6];
        for (int i = 0; i < arr.length; i++) {
            arr[i]=r.nextInt(100)+1;
        }
        printArray(arr);

    }
    public static void printArray(int[] arr){
        for (int i = 0; i <arr.length ; i++) {
            System.out.print(arr[i]+" ");
        }
    }
}
